package dao;

import java.sql.SQLException;
import java.util.List;

import domain.Address;

public interface AddressDao {
	public List<Address> findAddressByUser (int userId, int page, int limit) throws SQLException;
	
	public Address findAddressById (int id) throws SQLException;
	
	public boolean createAddress (Address address) throws SQLException;
	
	public boolean updateAddress (Address address) throws SQLException;
	
	public boolean deleteAddressById (int id) throws SQLException;
}
